<?

	class teste extends CI_Model {
		
		public function getData()
		{
			$sql = "SELECT id_carga, data FROM carregamento";
			$query = $this->db->query($sql);
			
		return $query->result();
		}
	}
